﻿@using Nop.Web.Extensions
@model HomePageProductsModel

@using Nop.Web.Models.Catalog;
@using Nop.Web.Extensions;

@if (Model.Products.Count > 0)
{
    <section class="most-popular">
        <div class="row">
            <div class="most-popular-container">
                <h2 class="list-section-title">
                    @T("Bestsellers")
                </h2>
                <div class="product-container product-container-carousel">
                    @foreach (var item in Model.Products)
                    {
                        @Html.Partial("_ProductBox", item,new ViewDataDictionary()
                        {
                             { "IsLogin", Model.IsLogin }
                        })
                    }
                </div>
                <div class="content-clear"></div>

            </div>
        </div>
        </section>
}
